import { createStore, combineReducers } from 'redux'
import { reducer as cartStore } from './cart'

const rootReducer = combineReducers({   // 整合的 reducer
    cartStore
})

export default createStore(rootReducer)